package pojo;

public class User {
    private int id;
    private String dname;

    private String pass;


    public User(String dname, String pass) {
        this.dname = dname;
        this.pass = pass;

    }

    public User(int id, String dname, String pass) {
        this.id = id;
        this.dname = dname;
        this.pass = pass;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
}
